package com.game.modular.game.battle.info.roundInfo.dto.messageDto.PvpMessageData;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.game.modular.game.battle.panel.skillEffect.PvpSkillEffect;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.extern.slf4j.Slf4j;

import java.util.ArrayList;
import java.util.List;

/**
 * 包含技能效果列表
 */
@Data
@AllArgsConstructor
@Slf4j
public class SkillReleaseMessage {
    @ApiModelProperty
    private Long skillId;

    @JsonIgnore
    @ApiModelProperty("战法名称")
    private String name;

    @JsonIgnore
    @ApiModelProperty("战法描述")
    private String intro;

    @ApiModelProperty("技能(星级)id")
    private Long skillStarId;

    @ApiModelProperty("是否释放")
    private Boolean isRelease;

    @ApiModelProperty("技能新产生的状态")
    public List<PvpSkillEffect> newStatusList;

    public SkillReleaseMessage() {
        newStatusList = new ArrayList<>();
    }
}
